//
//  BRDetailOneTableViewCell.m
//  BrezzeSaaS
//
//  Created by IOS on 2021/9/28.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import "BRDetailOneTableViewCell.h"

@implementation BRDetailOneTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.contentView.backgroundColor = UIColor.qd_backgroundColor2;
    self.backgroundColor = UIColor.clearColor;
    self.lineV.backgroundColor = UIColor.qd_lineColor2;
    self.titlelLB1.textColor = UIColor.qd_descriptionTextColor;
    self.titlelLB1.font  = [UIFont br_fontM:14];
    self.timeLB.textColor = UIColor.qd_descriptionText2Color;
    self.timeLB.font  = [UIFont br_fontM:14];
    self.titleLB2.textColor = UIColor.qd_descriptionTextColor;
    self.titleLB2.font  = [UIFont br_fontM:14];
    self.contentLB1.textColor = UIColor.qd_titleTextColor;
    self.contentLB1.font  = [UIFont br_fontS:17];
    self.contentLB2.textColor = UIColor.qd_titleTextColor;
    self.contentLB2.font  = [UIFont br_fontS:17];
}

- (void)changeStyle:(NSInteger)style {
    
    if (style == 0) {
        self.stack_x.constant = 60.;
        self.line_x.constant = 60.;
        self.leftImgBG.hidden = NO;
        [self singleLabel:YES];
    }else {
        self.stack_x.constant = 16.;
        self.line_x.constant = 16.;
        self.leftImgBG.hidden = YES;
        [self singleLabel:YES];
    }
    self.timeLB.hidden = self.leftImgBG.hidden;
}

- (void)singleLabel:(BOOL)isSingle {
    
    self.conViewBG2.hidden = isSingle;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
